﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IPagedList<JLL.China.Infrastructure.Repositories.LINQ2SQL.Country_City_Location>>" %>
        <!--  start product-table ..................................................................................... -->
        
        <input type="hidden" name="redirect" value="admins/index" />
        <table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
            <tr>
              <%-- <th class="table-header-check">
                    <a id="toggle-all"></a>
                </th>--%>
                <th class="table-header-repeat line-left minwidth-1">
                    <a href="">Location Id</a>
                </th>
                 <th class="table-header-repeat line-left minwidth-1">
                    <a href="">Country Name</a>
                </th>
                <th class="table-header-repeat line-left minwidth-1">
                    <a href="">City Name</a>
                </th>
                <th class="table-header-repeat line-left minwidth-1">
                    <a href="">Location Name</a>
                </th>
               <%-- <th class="table-header-repeat line-left minwidth-1">
                    <a href="">City Code</a>
                </th>
              <th class="table-header-repeat line-left minwidth-1">
                    <a href="">Status</a>
                </th>--%>
                <th class="table-header-options line-left">
                    <a href="">Options</a>
                </th>
            </tr>
            <% foreach (var item in Model)
               { 
            %>
            <tr>
               <%-- <td align="center">
                    <input name="selected" id="selected" type="checkbox" value="<%=item.CityID %>" />
                </td>--%>
                 <td>
                    <%= item.LocationID%><br/>
                </td>
                 <td>
                    <%= item.Country_EN%><br/>
                </td>
                <td>
                    <%= item.CityName%><br/>
                    
                </td>
                 <td>
                    <%= item.LocationName%><br/>
                    
                </td>
                <td class="options-width">
                    <div>
                 
                    <a data-fancybox-type="iframe" href="<%=Url.Content("~/")%><%=ViewData["now_controller"]%>Edit/<%=item.LocationID%>"
                            title="View / Edit" class="openwin info-tooltip">
                        <img id="detail-icon-img" src="<%=Url.Content("~/Content/images/")%>File_edit.png"  style="width: 25px; margin-left: 4px;"/>
                    </a>
                    <%-- <br/>  <br/><a href="<%= Url.Content("~/") %><%= ViewData["now_controller"] %>Delete/<%= item.Country_ID %>"
                            title="Delete" class=" info-tooltip remove-btn-ajax">
                            <img id="Img1" src="<%= Url.Content("~/Content/images/") %>Close.png" style="width: 24px;"/> </a>
              --%>
                    </div>
                </td>
            </tr>
            <%} %>
        </table>
        <!--  end product-table................................... -->
        
        <!--  start actions-box ............................................... -->
        <%--<div id="actions-box">
             <a href="" class="iconaction icon-cog"> </a>
            <a href="" class="action-slider"></a>
            <div id="actions-box-slider">
               <a class="iconaction icon-ok-circle"/>
                <%= Html.ActionLink("Active", "SelectedUser", new { status = "active" }, new { @title = "Set selected status to active", @class = "action-edit action-invoke info-tooltip" })%>
                <a class="iconaction  icon-minus-sign"/>
                  <%= Html.ActionLink("Inactive", "SelectedUser", new { status = "inactive" }, new { @title = "Set selected status to inactive", @class = "action-edit action-invoke info-tooltip" })%>
                                   
                 <a class="iconaction icon-trash "> </a>
                 <%= Html.ActionLink("Delete", "SelectedUser", new { status = "remove" }, new { @title = "Delete selected", @class = "action-edit  action-invoke-removed  info-tooltip " })%>
            </div>
            <div class="clear">
            </div>
        </div>--%>
        <!-- end actions-box........... -->
          <%Html.RenderPartial("PerPage", ViewData);%>
          
        <!--  start paging..................................................... -->
        <table border="0" cellpadding="0" cellspacing="0" id="paging-table">
            <tr>
                <td>
                    <div class="pager">
                      <%--  <%Html.RenderPartial("PerPage", ViewData);%>--%>
                    </div>
                </td>
                <td class="page-cell">
                    <div class="pager">
                        <%= Html.Pager(ViewData.Model.PageSize, ViewData.Model.PageNumber, ViewData.Model.TotalItemCount) %>
                    </div>
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                  
                </td>
            </tr>
        </table>
        <!--  end paging................ -->
        <div class="clear">
        </div>
   
